package com.alili_tv.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Setter
@Getter
@ToString
public class VideoFavoriteFolder implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private Long createUser;

    private LocalDateTime createTime;

    /**
     * 是否收藏至此收藏夹
     */
    @TableField(exist = false)
    private Boolean isFavor;

    /**
     * 收藏夹下视频总数
     */
    @TableField(exist = false)
    private Integer total;

}
